package cn.itcast.nems.journal.service;

import cn.itcast.ic.common.bean.Page;
import cn.itcast.nems.studentrecord.dao.entity.JournalFundTransfer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 学费转移凭单 服务类
 * </p>
 *
 * @author 陈早庆
 * @since 2024-02-23
 */
public interface JournalFundTransferService extends IService<JournalFundTransfer> {
    Page<JournalFundTransfer> listPage(Integer pageNumber, Integer pageSize, JournalFundTransfer params);
    JournalFundTransfer getById(String id);
    String create(JournalFundTransfer params);
    Boolean delete(String id);
    Boolean update(JournalFundTransfer params);

    Page<Map> searchClazzes(Integer pageNumber, Integer pageSize, JournalFundTransfer params);

    /**
     * 检查
     * @return
     */
    Boolean fundTransferExistsAmount(JournalFundTransfer params);
    /**
     * 提交
     *
     * @param id 升级凭单ID
     * @return 是否成功
     **/
    Boolean flow(String id);
}
